<template>
  <div>
    <button v-longPress = 'longFunc,1' >longPress</button>
 
  </div>
</template>

<script setup lang="ts">
const longFunc = () => {
  console.log('click long btn');
  alert('click long btn')
}
</script>

<style scoped>

</style>